2015-02-02 - 16879 -Spec - Material Creation Program Changes to Remove Hidden-Special Charcters #ABAP #ABAPLSMW #materialmaster

SPECIFICATIONS

16879.100 - Remove Hidden/Special Characters from Material Description during creation of Materials through Material Creation Programs.


Purpose


Removing special/hidden characters from the Material Description

Admin Info


Purpose
Remove Hidden/Special Chars from Material Description
Requested By
Babu Vanamali
Spec Created By
Venkat
Spec Created Date
02/02/2015
Spec QA by
Damodar
Environment
NECNED to NECNEQ
Object(s) tested by
Adithya
Objects
ZMMGBL
ZMMENGG_MAT
ZMMAPP_CREATE
ZRPP_FGEN
Document Status
Completed

Estimates



Sl.No
Activity
Estimation in Hours
1
Research

2
Documentation
4
3
Development/ Config
12
4
Unit test in DEV
8
5
Unit test in QUA
8
6
Other activity


TOTAL
32


Functional Requirement



Purpose/WHY:

New Era uses many new materials daily. Most of the Materials are created through Flat Files. The Material details are entered by Users in flat Files and some times the users enter some special characters in material description, also sometimes hidden characters are unintentionally inserted into the Material Description.

The hidden/special characters create problems when the material is used in some programs. ( IDOCS, BW system etc ). So, Remove special characters from the Material Description while creating materials by material creation programs,

Some examples for hidden/special characters are,",#,& etc.

In Scope:
[List the activities to be included in scope]

Out of Scope:

[Out of scope activities]

Solution Summary


The following programs are used by New Era to create materials using flat files.
1.ZMMGBL
2.ZMMENGG_Mat
3.ZMMAPP_CREATE
4.ZRPP_Fgen

Develop a Function Module to remove hidden/special characters from Material Creation Programs.This Function Module will be used in all the material creation programs.

Allowed Characters in Material Description:
1) 0,1,2,3,4,5,6,7,8,9
2) All alphabets
3)/,-,%

Test Notes


System : NECNED300

S No
Program
Test Scenario
MM0001
ZRPP_FGEN
Create a Material Usign ZRPP_FGEN with special characters as material description in it

System : NECNED100


Test ID
Test Scenario
Expected Results
MM0001
Create a Material using ZRPP_FGEN with special characters as the Material Description.
Material should be created with correct description avoiding the special hidden characters like (/,-%)
Attached is the file which is used for testing with the special characters in material description
MM0002
Create a Material using ZMMGBL with special characters as the Material Description.
Material should be created with correct description avoiding the special hidden characters like (/,-%)
Attached is the file which is used for testing with the special characters in material description
MM0003
Create a Material using ZMMENGG_MAT with special characters as the Material Description.
Material should be created with correct description avoiding the special hidden characters like (/,-%)
Attached is the file which is used for testing with the special characters in material description
MM0004
Create a Material using ZMMAPP_CREATE with special characters as the Material Description.


Solution Details


Developed a Function Module - ZFM_MAT_DESC_CLEANSING, which will remove all the special / hidden characters
- Input Parameter : Material Description
- Output Parameter: Material Description (without special / hidden characters)

Used the above function module (ZFM_MAT_DESC_CLEANSING) in the below programs to remove the special/hidden characters in material description:
1.ZMMGBL
2.ZMMENGG_Mat
3.ZMMAPP_CREATE
4.ZRPP_Fgen

Issues


[List Issues / Bugs identified in configuration or development]